package com.yifeng.common;


public final class Constants {

    // =============== 用户角色常量 ===============
    public static final String ROLE_ADMIN = "admin";
    public static final String ROLE_VISITOR = "user";

    // =============== 新闻状态常量 ===============
    public static final int NEWS_STATUS_DRAFT = 0;      // 草稿状态，用户不可见
    public static final int NEWS_STATUS_PUBLISHED = 1;  // 已发布状态，用户可见

    // =============== 新闻分类常量 ===============
    public static final String NEWS_CATEGORY_PROJECT = "项目新闻";
    public static final String NEWS_CATEGORY_MEDIA = "媒体报道";
    public static final String NEWS_CATEGORY_NOTICE = "通知公告";

    // =============== 资源类型常量 ===============
    public static final String RESOURCE_TYPE_DOCUMENT = "文档";
    public static final String RESOURCE_TYPE_IMAGE = "图片";
    public static final String RESOURCE_TYPE_VIDEO = "视频";

    // 私有构造函数，防止实例化
    private Constants() {
        throw new UnsupportedOperationException("这是一个实用程序类，不能实例化");
    }
}